﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using SGRapidForm.Common;

namespace SGRapidForm.Foundation.Entity
{
    [DataContract]
    public class FoundationEntity : EntityBase
    {
        public FoundationEntity()
        { }

        #region Model
        private string _keyid=string.Empty;
        private string _foundationclasskeyid=string.Empty;
        private string _foundationtext=string.Empty;
        private string _foundationvalue=string.Empty;
        private string _fielda=string.Empty;
        private string _fieldb=string.Empty;
        private string _fieldc=string.Empty;
        private string _remark=string.Empty;
        private int? _order = 0;
        private bool _issys=false;

        [DataMember]
        public string Keyid
        {
            set { _keyid = value; }
            get { return _keyid; }
        }

        [DataMember]
        public string FoundationClassKeyid
        {
            set { _foundationclasskeyid = value; }
            get { return _foundationclasskeyid; }
        }
        [DataMember]
        public string FoundationText
        {
            set { _foundationtext = value; }
            get { return _foundationtext; }
        }
        [DataMember]
        public string FoundationValue
        {
            set { _foundationvalue = value; }
            get { return _foundationvalue; }
        }
        [DataMember]
        public string FieldA
        {
            set { _fielda = value; }
            get { return _fielda; }
        }
        [DataMember]
        public string FieldB
        {
            set { _fieldb = value; }
            get { return _fieldb; }
        }
        [DataMember]
        public string FieldC
        {
            set { _fieldc = value; }
            get { return _fieldc; }
        }
        [DataMember]
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        [DataMember]
        public int? Order
        {
            set { _order = value; }
            get { return _order; }
        }
        [DataMember]
        public bool IsSys
        {
            set { _issys = value; }
            get { return _issys; }
        }

        private string _foundationclassname = string.Empty;
        [DataMember]
        public string FoundationClassName
        {
            set { _foundationclassname = value; }
            get { return _foundationclassname; }
        }
        #endregion


    }

}
